import request from "@/utils/request";

export const getBannerApi = (type) =>
  request.get("/home/banner", {
    params: {
      distributionSite: type,
    },
  });
export const findNewApi = () =>
  request.get("/home/new", {
    params: {
      limit: 4,
    },
  });
export const getHotApi = () => request.get("/home/hot");

export const getGoodsApi = () => request.get("/home/goods");
